package com.nxmu.dao;

import com.nxmu.entity.User;
import com.nxmu.enums.Role;

import java.util.List;

public interface UserDao extends Dao<User> {

    User login(String userId, String password, Role role);

    List<User> getByUsername(String username);
}
